import request from './http.request';

export default {
  //项目列表
  getProjectList:(data) => {return request({url: '/admin/project/page',method: 'post',data: data})},
  //项目状态统计
  getProjectNum:(data) => {return request({url: `/dc/device/projectfortype`,method: 'post',data: data})},

  // 视频状态
  videoStatus:(data) => {return request({url:'/dc/video/videolist',method: 'post',data: data})},
  // 实名制状态
  attendanceStatus:(data) => {return request({url:'/dc/attendance/devicelist',method: 'post',data: data})},
  // 扬尘状态
  dustStatus:(data) => {return request({url:'/dc/dust/devicelist',method: 'post',data: data})},
  // 塔机状态
  towerStatus:(data) => {return request({url:'/dc/tower/devicelist',method: 'post',data: data})},
  // 电梯状态
  elevatorStatus:(data) => {return request({url:'/dc/elevator/devicelist',method: 'post',data: data})},
  // 电表状态
  electricStatus:(data) => {return request({url:'/dc/electric/devicelist',method: 'post',data: data})},
  // 水表状态
  waterStatus:(data) => {return request({url:'/dc/water/devicelist',method: 'post',data: data})},
  // 实时监控视频 (随机)
  VideoTwoList:(data={}) => {return request({url:'/dc/video/videorandom',method: 'post',data: data})},
  // AI识别图片
  aiStatus:(data) => {return request({url:'/dc/ai/airank',method: 'post',data: data})},
  // ai预警统计
  aiWaning:(data) => {return request({url:'/dc/ai/alambyday',method: 'post',data: data})},

  // 出勤统计
  getPersonView:(data) => {return request({url: '/dc/attendance/business_list',method: 'post',data: data})},
  // 视频设备在线情况
  getVideoView:(data) => {return request({url: '/dc/video/videolist',method: 'post',data: data})},
  // 实名制在线情况
  getAttendanceView:(data) => {return request({url: '/dc/attendance/devicelist',method: 'post',data: data})},
  // 环境在线情况
  getDustView:(data) => {return request({url: '/dc/dust/devicelist',method: 'post',data: data})},
  // 大屏质量安全
  getqsView:(data) => {return request({url: '/dc/info/statistics/v4',method: 'post',data: data})},
   
  // 企业级大屏查询统计信息
  getQueryEntpIndexStatistic:(data) => {return request({url: '/dc/ms/queryEntpIndexStatistic',method: 'post',data: data})},
  // 企业级大屏查询每日进料统计
  getQueryDailyStatistic:(data) => {return request({url: '/dc/ms/queryDailyStatistic',method: 'post',data: data})},
  // 企业级预警类别
  getWarningType:(data) => {return request({url: '/dc/device/alarmtype',method: 'get',data: data})},
  // 企业级预警列表
  getWarningList:(data) => {return request({url: '/dc/device/alarm?size=30',method: 'post',data: data})},

  // 项目级-质量安全-分析
  getStatisticsData:(data) => {return request({url: '/dc/info/statistics',method: 'post',data: data})},
  // 项目级-质量安全-统计近14日内数据
  getStatisticsV3:(data) => {return request({url: '/dc/info/statistics/v3',method: 'post',data: data})},
  // 项目级-质量安全-单位总览
  getInfoDepartment:(data) => {return request({url: '/dc/info/department',method: 'post',data: data})},
  // 项目级-质量安全-隐患问题
  getSafetyIssue:(data) => {return request({url: '/dc/info/page',method: 'post',data: data})},

  // 项目级-视频-列表
  getVideoList:(data) => {return request({url: '/dc/video/list',method: 'post',data: data})},
  // 项目级-AI-列表
  getAiList:(data) => {return request({url: '/dc/ai/list',method: 'post',data: data})},
  // 项目级-环境监测-实时数据
  getEnvironmentShow:(data) => {return request({url: '/dc/dust/show',method: 'post',data: data})},
  // 项目级-环境监测-阶段数据
  getEnvironmentData:(data) => {return request({url: '/dc/dust/betweendaylist',method: 'post',data: data})},
  // 项目级-环境监测-实时预警
  getCurrentalarmcountData:(data) => {return request({url: '/dc/dust/currentalarmcount',method: 'post',data: data})},
  // 项目级-环境监测-预警日测统计数据  
  getAlarmcountbydayData:(data) => {return request({url: '/dc/dust/alarmcountbyday',method: 'post',data: data})},


  //项目级-概况-当日用水
  getWaterToday:(data) => {return request({url: '/dc/water/title_cost',method: 'post',data: data})},
  //项目级-概况-当日用电
  getElectricToday:(data) => {return request({url: '/dc/electric/title_cost',method: 'post',data: data})},
  //项目级-概况-7日用水
  getWaterServen:(data) => {return request({url: '/dc/water/servendays_cost',method: 'post',data: data})},
  //项目级-概况-7日用电
  getElectricServen:(data) => {return request({url: '/dc/electric/servendays_cost',method: 'post',data: data})},
  //项目级-概况-环境
  getEnvironmentReal:(data) => {return request({url: '/dc/dust/show',method: 'post',data: data})},
  //项目级-概况-考勤
  getAttendanceReal:(data) => {return request({url: '/dc/attendance/project_list',method: 'post',data: data})},
  //项目级-概况-工种
  getWorktype:(data) => {return request({url: '/dc/attendance/worktype',method: 'post',data: data})},
  //项目级-概况-质量安全
  getQualityAndSafeExamine:(data) => {return request({url: '/dc/info/qualityAndSafeExamine',method: 'post',data: data})},

  // 项目级-物料-当月采购统计
  getQueryMonthlyStatistic:(data) => {return request({url: '/dc/ms/queryMonthlyStatistic',method: 'post',data: data})},
  // 项目级-物料-台账
  getQueryReceivingRecordsPage:(data) => {return request({url: '/dc/ms/queryReceivingRecordsPage',method: 'post',data: data})},

  //项目级-iot-塔机实时状态
  getTowerOnline:(data) => {return request({url: '/dc/tower/projectdevicelist',method: 'post',data: data})},
  //项目级-iot-塔机实时状态数据
  getTowerReal:(data) => {return request({url: '/dc/tower/towercurrentlist',method: 'post',data: data})},
  //项目级-iot-塔机历史
  getTowerHistory:(data) => {return request({url: '/dc/tower/towerhistorylist',method: 'post',data: data})},

  //项目级-iot-电梯实时状态
  getElevarotOnline:(data) => {return request({url: '/dc/elevator/projectdevicelist',method: 'post',data: data})},
  //项目级-iot-电梯实时状态数据
  getElevarotReal:(data) => {return request({url: '/dc/elevator/projectcurrent',method: 'post',data: data})},
  //项目级-iot-电梯实时状态数据
  getElevarotList:(data) => {return request({url: '/dc/elevator/projectusetime',method: 'post',data: data})},
  //项目级-iot-电梯历史
  getElevarotHistory:(data) => {return request({url: '/dc/elevator/elevatorhistorylist',method: 'post',data: data})},

  
}